HipAssetsBinding.registerAsset

Usage Example: registerAsset(typeid(Image), (string path, string f, size_t l) => new HipImageLoadTask(path,path,null,f,l));

class HipAssetsBinding
extern (System) __gshared
void function(TypeInfo tID, IHipAssetLoadTask delegate(string path, const(ubyte)[] extraData, string file, size_t line) assetFactory) registerAsset;

Meta